package com.capgemini.scaffold.user;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface UserService extends IService<User> {

    User add(User user);

    int delete(Integer id);

    int update(User user);

    User get(Integer id);

    List<User> queryUser(UserReq req);

    IPage<User> queryUserPage(UserReq req);
}
